import Vue from 'vue'
import Router from 'vue-router'
// import Home from './views/Home.vue'
// import About from "./views/About.vue"
import HomeContainer from "./components/tabbar/HomeContainer.1.vue";
import RememberContainer from "./components/tabbar/RememberContainer.2.vue";
import SearchContainer from "./components/tabbar/SearchContainer.vue";
import ShopContainer from "./components/tabbar/ShopContainer.3.vue";

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      redirect:'/home'
    },
    {
      path: '/home',
      name: 'home',
      component: HomeContainer
    },
    {
      path: '/remember',
      name: 'rememver',
      component:RememberContainer
    },
    {
      path: '/car',
      name: 'car',
      component:ShopContainer
    },
    {
      path: '/search',
      name: 'about',
      component:SearchContainer
    },

  ],
  linkActiveClass:"mui-active" //覆盖路由高亮的类
})
